//
// Created by wkm on 2024-03-31.
//

#ifndef CHIPBUS_SLAVE_IF_H
#define CHIPBUS_SLAVE_IF_H

#include "systemc.h"
#include "direct_if.h"

class slave_if : public direct_if {
public:
    // Slave interface
    virtual status read(int *data, unsigned int address) = 0;

    virtual status write(int *data, unsigned int address) = 0;

    virtual unsigned int start_address() const = 0;

    virtual unsigned int end_address() const = 0;
};

#endif //CHIPBUS_SLAVE_IF_H
